﻿<UserControl x:Class="RadioButtonProject.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    FontFamily="Trebuchet MS" FontSize="11"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel Orientation="Vertical" Background="Yellow">
            <RadioButton Content="Option 1" IsChecked="true" 
      GroupName="G1" ></RadioButton>
            <RadioButton Content="Option 2" GroupName="G1" />
            <RadioButton Content="Option 3" GroupName="G2" />
            <RadioButton Content="Option 4" GroupName="G2" />
            <RadioButton Content="Option 5" GroupName="G3" 
      IsChecked="true" />
            <RadioButton Content="Option 6" GroupName="G3" />
            <RadioButton Content="Option 7" GroupName="G3" />
            <RadioButton Content="Option 8" GroupName="G3" />
        </StackPanel>


    </Grid>
</UserControl>
